package com.hzncc.flowable_diboot.project_contracts.excel.model;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.lang.Double;
import java.math.BigDecimal;

import com.alibaba.excel.enums.BooleanEnum;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.diboot.core.util.D;
import com.diboot.core.util.V;
import com.diboot.core.data.copy.Accept;
import com.diboot.file.excel.BaseExcelModel;
import com.hzncc.flowable_diboot.project_contracts.entity.ProjectContractItem;
import lombok.Getter;
import lombok.Setter;
import jakarta.validation.constraints.NotNull;

/**
* 项目类合同合同项目 导出model定义
*
* @author MyName
* @version 1.0
* @date 2024-09-27
 * Copyright © MyCorp
*/
@Getter
@Setter
@ExcelIgnoreUnannotated
public class ProjectContractItemExportModel extends BaseExcelModel {


    /**
    * 租户
    */
    @ExcelProperty(value = "租户")
    private String tenantIdLabel;

    /**
    * 序号
    */
    @ExcelProperty(value = "序号")
    private Long serialNumber;


    /**
    * 物料编码
    */
    @ExcelProperty(value = "物料编码")
    private String materialCode;


    /**
    * 设备名称
    */
    @ExcelProperty(value = "设备名称")
    private String equipmentName;


    /**
    * 规格及型号
    */
    @ExcelProperty(value = "规格及型号")
    private String specificationAndModel;


    /**
    * 系统配置
    */
    @ExcelProperty(value = "系统配置")
    private String systemConfiguration;


    /**
    * 制造厂商名称
    */
    @ExcelProperty(value = "制造厂商名称")
    private String manufacturerName;


    /**
    * 数量
    */
    @ExcelProperty(value = "数量")
    private BigDecimal quantity;


    /**
    * 销售单价
    */
    @ExcelProperty(value = "销售单价")
    private BigDecimal salesUnitPrice;


    /**
    * 销售总价
    */
    @ExcelProperty(value = "销售总价")
    private BigDecimal salesTotalPrice;


    /**
    * 销售询价
    */
    @ExcelProperty(value = "销售询价")
    private BigDecimal salesInquiry;


    /**
    * 询价人
    */
    @ExcelProperty(value = "询价人")
    private String inquirer;


    /**
    * 询价人电话
    */
    @ExcelProperty(value = "询价人电话")
    private String inquirerPhoneNumber;


    /**
    * 询价单位
    */
    @ExcelProperty(value = "询价单位")
    private String inquiryUnit;


    /**
    * 采购单价
    */
    @ExcelProperty(value = "采购单价")
    private BigDecimal purchaseUnitPrice;


    /**
    * 采购总价
    */
    @ExcelProperty(value = "采购总价")
    private BigDecimal purchaseTotalPrice;


    /**
    * 交货日期
    */
    @DateTimeFormat(D.FORMAT_DATETIME_Y4MDHMS)
    @ExcelProperty(value = "交货日期")
    private LocalDateTime deliveryDate;


    /**
    * 质保期
    */
    @ExcelProperty(value = "质保期")
    private String warrantyPeriod;


    /**
    * 付款方式
    */
    @Accept(name = "paymentMethodLabel.label")
    @ExcelProperty(value = "付款方式")
    private String paymentMethodLabel;

    /**
    * 折扣/毛利100%
    */
    @ExcelProperty(value = "折扣/毛利100%")
    private BigDecimal discount;


    /**
    * 退税
    */
    @ExcelProperty(value = "退税")
    private BigDecimal taxRebate;


    /**
    * 退税后毛利率
    */
    @ExcelProperty(value = "退税后毛利率")
    private BigDecimal grossProfitRateAfterTaxRebate;


    /**
    * 备注
    */
    @ExcelProperty(value = "备注")
    private String remarks;


    /**
    * 条目类型
    */
    @ExcelProperty(value = "条目类型")
    private String itemType;


    /**
    * 项目类合同id
    */
    @ExcelProperty(value = "项目类合同id")
    private String contractIdLabel;
}